package com.example.demo.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.net.UnknownHostException;

/**
 * @Description:
 * @Author: miaozm
 * @Date: 2020/2/10 15:59
 */
@Controller
public class DemoController {

	/**
	 * 跳转海康web3.0开发包
	 * @return
	 * @throws UnknownHostException
	 */
	@RequestMapping("/hk")
	public String ws() throws UnknownHostException {
		return "hk/webDemo";
	}

	/**
	 * 跳转直播页面
	 * @return
	 */
	@RequestMapping("/vedio")
	public String vedioInfo(){
		return "hk/vedioInfo";
	}

	/**
	 * 跳转回放页面
	 * @return
	 */
	@RequestMapping("/vedioBack")
	public String vedioBack(){
		return "hk/vedioInfoBack";
	}


}
